<template>
  <van-empty description="404 Not Found">
    <van-button round type="primary" @click="handleClick">返回首页</van-button>
  </van-empty>
</template>

<script setup>
import { useRouter } from "vue-router";

const router = useRouter();

const handleClick = () => {
  router.push("/");
};
</script>

<style lang="scss" scoped></style>
